<!DOCTYPE html>
<html>

	<head>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<meta name="format-detection" content="telephone=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
		<title>邀请入圈</title>
		<link rel="stylesheet" type="text/css" href="../../css/reset.css" />
		<link rel="stylesheet" type="text/css" href="../../css/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="../../css/common.css" />
		<link rel="stylesheet" type="text/css" href="../../css/main.css" />
	</head>

	<body>
		<!--顶部-->
		<header>
			<a href="javascript:history.go(-1)" class="iconfont icon-zuojiantou1"></a>
		</header>
		<!--顶部-->
		<!--内容-->
		<div class="container pt2">
			<div class="invitebox">
				<div class="invite-type row">
					<a href="quick_invite.html">快速邀请</a>
					<a href="num_invite.html" class="active">号码邀请</a>
					<a href="invite.html">已邀请 (12)</a>
				</div>
				<div class="invite-list">
					<ul>
						<li>
							<p>好友1</p>
							<div class="add-friend row">
								<input type="text" placeholder="姓名" />
								<input type="tel" maxlength="11" placeholder="电话号码" />
							</div>
						</li>
						<li>
							<p>好友2</p>
							<div class="add-friend row">
								<input type="text" placeholder="姓名" />
								<input type="tel" maxlength="11" placeholder="电话号码" />
							</div>
						</li>
					</ul>
				</div>
				<div class="add-operate row" onclick="addF()">
					<i class="iconfont icon-jiahao"></i>
					<span>增加好友</span>
				</div>
				<div class="row add-sure"><a href="#" class="unable">确定</a></div>
				<a href="#" class="cord" style="margin-top: 5rem;">邀请规则说明</a>
			</div>
		</div>
		<!--内容-->
		<script src="../../js/jquery.min.js"></script>
		<script src="../../js/wap.js"></script>
		<script type="text/javascript">
			var n = 3;
			function addF() {
				var html;
				html = '<li>' +
					'<p>好友' + n + '</p>' +
					'<div class="add-friend row">' +
					'<input type="text" placeholder="姓名" />' +
					'<input type="tel" maxlength="11"  placeholder="电话号码" />' +
					'</div>' +
					'</li>';
				$('.invite-list ul').append(html);
				n++;
			}
		</script>
	</body>

</html>